#pragma once
#include "../Base/TypeDefine.hpp"
#include <map>
#include <string>
namespace NAMESPACENAME
{
	class ConfigFile
	{
		std::wstring fileName;
		std::map<std::string, std::string> configs;
		bool changed;
	public:
		static ConfigFile configFile;
		ConfigFile();
		std::string operator[](std::string key)const;
		void SetValue(std::string key, std::string value);
		bool Read();
		void Flush()const;
		void Remove(std::string key);
		~ConfigFile();
	};
}